package com.zrq.services.test.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Tolerate;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

/**
 * @Author: zrq
 * @CreateDate: 2020/10/9
 * @Version: 类说明： person实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@Validated
@Builder
public class Person implements Serializable {
    private static final long serialVersionUID = 1L;

    private int id;
    private String name;
    private int age;
    private String address;
    private long create_time;

    @Tolerate
    public Person() {
    }

}
